﻿using System;
using IM.Interfaces;
using Common.Interfaces;

namespace IM.GUI.Widgets.ExtensionCommands
{
	public class GetCoreAPICommand : IUpdateCommand<ICore>
    {
		public void Update(ICore updatePar)
        {
			if (updatePar == null)
				throw new NullReferenceException("GetCoreAPICommand: updatePar is null, ICore expected!");
			Settings.SettingsWindow.GetInstance(updatePar);
        }
    }
}
